package com.daka.dao;

import com.daka.entity.MemberInvite;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "memberInviteDao")
@SQLMapper
public interface MemberInviteDao {

    int insert(MemberInvite record);

    MemberInvite selectByPrimaryKey(Integer id);

    MemberInvite selectByInviteCode(String code);

    List<MemberInvite> selectByMember(String memberID);

    int updateByPrimaryKeySelective(MemberInvite record);
}